import request from '@/utils/request'

const api_name = "/api/ucenter/wx"
export default {
  // 获取二维码内容
  getLoginParam() {
    return request({
      url: api_name+'/getLoginParam',
      method: 'get'
    })
  },
  // 生成微信支付二维码
  createNative(orderId) {
    return request({
      url: '/api/order/weixin/createNative/'+orderId,
      method: 'get'
    })
  },
  queryPayStatus(orderId) {
    return request({
      url: '/api/order/weixin/queryPayStatus/'+orderId,
      method: 'get'
    })
  }
}
